package cn.lyjuan.dwz_manage.core.base.pojo;

import java.util.Date;

/**
 * 
 * Created By pojoutils-V4.0 2016-09-10 15:35:17
 */
public class RolePojo
{
	/**
	 表名
	 */
	public transient static final String TABLE_NAME = "MG_ROLE";

	/**
	 * 主键，自动增长
	 * 数据库类型：4:int(11)
	 * 不可为空
	 */
	private int id = -123;

	/**
	 * 
	 * 角色名称
	 * 数据库类型：12:varchar(255)
	 * 不可为空
	 */
	private String name;

	/**
	 * 
	 * 创建者账号
	 * 数据库类型：12:varchar(10)
	 * 不可为空
	 */
	private String createby;

	/**
	 * 
	 * 创建时间
	 * 数据库类型：93:datetime
	 * 不可为空
	 */
	private Date createtime;


	/** Getter and Setter Methods **/
	public int getId() { return this.id; }
	public void setId(int id) {this.id = id; }
	public String getName() { return this.name; }
	public void setName(String name) {this.name = name; }
	public String getCreateby() { return this.createby; }
	public void setCreateby(String createby) {this.createby = createby; }
	public Date getCreatetime() { return this.createtime; }
	public void setCreatetime(Date createtime) {this.createtime = createtime; }


	public RolePojo(){}


	public String toString()
	{
		return "RolePojo[id = " + this.id + ", " + 
		"name = " + this.name + ", " + 
		"createby = " + this.createby + ", " + 
		"createtime = " + this.createtime  + "]";
	}
}